from vnpy.event import Event, EventEngine

# 自定义事件类型
EVENT_PORTFOLIO_UPDATE = "ePortfolioUpdate"  # 组合更新事件
EVENT_PORTFOLIO_TRADE = "ePortfolioTrade"    # 组合交易事件
EVENT_PORTFOLIO_RISK = "ePortfolioRisk"
EVENT_PORTFOLIO_STRATEGY = "ePortfolioStrategy" 